package com.garry.common.controller;

import org.apache.shiro.SecurityUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by GarryGe on 2016/12/10.
 */
@Controller
public class HomeController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String home1() {
        return "homepage";
    }

    @RequestMapping(value = "/home", method = RequestMethod.GET)
    public String home() {
        return "homepage";
    }

}
